<template>
  <div class="CenterGoodList">
    <div class="myGoodList">
      <slot></slot>
      <span></span>
    </div>
    <slot name="container"></slot>
  </div>
</template>

<script>
export default {
name: "CenterGoodList"
}
</script>

<style scoped lang="less">
.CenterGoodList{
  margin: 15px auto;
  width: 90%;
  border-radius: 10px;
  box-shadow:  0px 2px 6px 0px rgba(0, 0, 0, 0.12);
}
.myGoodList{
  position: relative;
  height: 40px;
  padding: 0 15px;
  border-radius: 5px 5px 0 0;
  line-height: 40px;
  background-color: #E6D48C;
  font-size: 16px;
  color: #917810;
  font-weight: bold;
  >span{
    width: 0px;
    border-bottom: 10px solid transparent;
    border-top: 10px solid #E6D48C;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    position: absolute;
    bottom: -19px;
    left: 50%;
  }
}
</style>